<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function test(){
           if(true){
            var a = 777
            // 最邻近的一对括号里面
            let b = 2
           }
           console.log(a)
           console.log(b)
        }
        test()
    </script>
    <p>这是一个练习项目</p>
</body>
</html>